package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;

import java.util.List;

/**
 * 护理等级Service层
 */
public interface NursingLevelService {
    /**
     * 查询所有的护理等级
     */
    List<NursingLevelVo> getAll();

    /**
     * 根据ID查询护理
     */
    NursingLevelVo getNursingLevelById(Long id);

    /**
     * 修改护理等级
     */
    void update(NursingLevelDto nursingLevelDto);

    /**
     * 根据ID删除护理等级
     */
    void delete(Long id);

    /**
     * 根据ID删除护理等级
     */
    void startOrStop(Long id, Integer status);

    /**
     * 获取所有的护理等级信息
     * @return
     */
    List<NursingLevel> getAllNursingLevel();

    /**
     * 添加护理等级信息
     * @param nursingLevelDto
     * @return
     */
    void addNursingLevelInfo(NursingLevelDto nursingLevelDto);

    /**
     *分页查询项目等级信息
     * @return
     */
    PageResponse<NursingLevelVo> getNursingLevelByPage(Integer pageNum, Integer pageSize, String name, Integer status);
}
